home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / ischannel < prev    next >
Text File  |  2001-03-21  |  945b  |  30 lines

  1. Synopsis:
  2.    $ischannel(<channel name>)
  3.  
  4. Technical:
  5.    This function checks whether the input channel name is a valid channel
  6.    name.  It does NOT check whether the channel actually exists, only that
  7.    the name would be legal to use as a channel name.
  8.  
  9. Practical:
  10.    This function compares the given channel name against the known server
  11.    rules for channel names to determine if the server is likely to allow
  12.    a channel with such a name.  Contrary to common belief, it does not
  13.    check for the existence of a channel.
  14.  
  15. Returns:
  16.    "true" value if channel name is legal, "false" otherwise
  17.  
  18. Examples:
  19.    $ischannel(#blah)              returns true
  20.    $ischannel(&blah)              returns true
  21.    $ischannel(blah)               returns false
  22.  
  23. See Also:
  24.    join(1)
  25.  
  26. Bugs:
  27.    This function does not take ircd 2.9's modeless channels (prefixed with
  28.    a '+') into account when determining the legality of a channel name.
  29.  
  30.